/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package percobaan_1;

/**
 *
 * @author Liem
 */
public class Main {
    public static void main(String args[]){
        Airplane pesawat = new Airplane();
        Bird burung = new Bird();
        System.out.println("Pemanggilan method class airplane");
        pesawat.startEngine();
        pesawat.takeOff();
        pesawat.fly();
        pesawat.land();
        pesawat.stopEngine();
        
        System.out.println("Pemanggilan method class bird");
        burung.takeOff();
        burung.fly();
        burung.land();
        
    }
}
